import request from '@/utils/request'
//考察类型下拉列表
export function selectInvestigationList() {
    return request({
        url: `/stability-base/inspect-type/down/list`,
        method: 'get',
    })
}
//放置条件下拉列表
export function selectInvestigationfList() {
    return request({
        url: `/stability-base/place-conditions/all/list`,
        method: 'get',
    })
}
//辅助措施下拉列表
export function measureList() {
    return request({
        url: `/stability-base/secondary-measure/downList`,
        method: 'get',
    })
}
//取样列表
export function List(data) {
    return request({
        url: `/stability-plan/list`,
        method: 'post',
        data
    })
}
//取样详情
export function detail(id) {
    return request({
        url: `/stability-plan/detail?id=${id}`,
        method: 'get',
    })
}
//包装
export function materialList(type) {
    return request({
        url: `/stability-base/packing-material/downList?type=${type}`,
        method: 'get',
    })
}
//封口形式
export function sealingList(type) {
    return request({
        url: `/stability-base/sealing/downList?type=${type}`,
        method: 'get',
    })
}
//放样
export function putSample(data) {
    return request({
        url: `/stability-plan/put-sample`,
        method: 'post',
        data
    })
}
//取样
export function getSample(data) {
    return request({
        url: `/stability-plan/get-sample`,
        method: 'post',
        data
    })
}
//复核确认
export function check(data) {
    return request({
        url: `/stability-plan/do-check`,
        method: 'post',
        data
    })
}
//更换稳定性箱
export function changeInstrument(data) {
    return request({
        url: `/stability-plan/change-instrument`,
        method: 'post',
        data
    })
}
//操作历史
export function history(id) {
    return request({
        url: `/stability-plan/history/list?id=${id}`,
        method: 'get',
    })
}
//旧稳定性箱
export function oldList() {
    return request({
        url: `/stability-box-change/all/plan-doing/instrument`,
        method: 'get',
    })
}
//创建
export function changeCreate(data) {
    return request({
        url: `/stability-box-change/create`,
        method: 'post',
        data
    })
}
//查看报告
export function reportView(id) {
    return request({
        url: `/sample-inspection/task/view/report?id=${id}`,
        method: 'get'
    })
}
export function Instrument(id) {
    return request({
        url: `/stability-plan/scheme/instrument?id=${id}`,
        method: 'get'
    })
}
export function member(id) {
    return request({
        url: `/stability-plan/project-member?id=${id}`,
        method: 'get'
    })
}
export function instrumentD(data) {
    return request({
            url: `/check/yi-yao/instrument/list`,
            method: 'post',
            data
        })
        // return request({
        //     url: `/stability-plan/scheme/instrument?id=${id}`,
        //     method: 'get'
        // })
}
export function projectList() {
    return request({
        url: `/stability-plan/project-list`,
        method: 'get'
    })
}